<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="../application/vue.js"></script>
</head>
<body>
    <div id="app">
        <p>msg:{{msg}}</p>
        <input type="text" v-model="msg"><br>
        <input type="text" v-model.lazy="msg">
        <p>num:{{num}}</p>
        <input type="number" v-model="num">
        <input type="number" v-model.number="num">
        <input type="text" v-model="num">
        <input type="text" v-model.number="num">
        <p>info:{{info}}</p>
        <input type="text" v-model="info">
        <input type="text" v-model.trim="info">
    </div>
</body>
<script>
    new Vue({
        el:"#app",
        data:{
            msg:"初始值",
            num:10,
            info:"info"
        }
    })
</script>
</html>